<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Access-Control-Allow-Origin" charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- Favicon -->
    <link rel="shortcut icon" href="assets/media/image/favicon.png" />

    <!-- Plugin styles -->
    <link rel="stylesheet" href="vendors/bundle.css" type="text/css">

    <!-- Prism -->
    <link rel="stylesheet" href="vendors/prism/prism.css" type="text/css">

    <!-- App styles -->
    <link rel="stylesheet" href="assets/css/app.css" type="text/css">

</head>

<body>
<a class="btn btn-outline-primary" href="/unit/findDeclaration">刷新(刷新页面显示数据)</a>
<div class="table-responsive">
    <h3>Decalration</h3>
    <br/>
    <table class="table table-striped mb-0">
        <thead>
        <tr>
            <th class="text-center">送报职改办</th>
            <th class="text-center">个人身份性质</th>
            <th class="text-center">送报职改办</th>
            <th class="text-center">专业技术资格名称</th>
            <th class="text-center">专业名称</th>
            <th class="text-center">姓名</th>
            <th class="text-center">民族</th>
            <th class="text-center">证件号码</th>
            <th class="text-center">政治面貌</th>
            <th class="text-center">出生年月</th>
            <th class="text-center">外语</th>
            <th class="text-center">性别</th>
            <th class="text-center">特长</th>
            <th class="text-center">籍贯</th>
            <th class="text-center">出生地</th>
            <th class="text-center">惩罚情况</th>
            <th class="text-center">联系电话</th>
            <th class="text-center">参加何种团体任职</th>
            <th class="text-center">档案所在地机构名称</th>
            <th class="text-center">近期照片</th>
            <th class="text-center">状态</th>
            <th></th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="declaration: ${declarationList}">
            <td class="text-center" th:text="${declaration.unitName}"></td>
            <td class="text-center" th:text="${declaration.userType}"></td>
            <td class="text-center" th:text="${declaration.unitSend}"></td>
            <td class="text-center" th:text="${declaration.job}"></td>
            <td class="text-center" th:text="${declaration.major}"></td>
            <td class="text-center" th:text="${declaration.userName}"></td>
            <td class="text-center" th:text="${declaration.idCard}"></td>
            <td class="text-center" th:text="${declaration.political}"></td>
            <td class="text-center" th:text="${declaration.birthTime}"></td>
            <td class="text-center" th:text="${declaration.foreignLanguage}"></td>
            <td class="text-center" th:text="${declaration.sex}"></td>
            <td class="text-center" th:text="${declaration.special}"></td>
            <td class="text-center" th:text="${declaration.nativePlace}"></td>
            <td class="text-center" th:text="${declaration.birthPlace}"></td>
            <td class="text-center" th:text="${declaration.award}"></td>
            <td class="text-center" th:text="${declaration.phone}"></td>
            <td class="text-center" th:text="${declaration.clubJob}"></td>
            <td class="text-center" th:text="${declaration.fileLocation}"></td>
            <td class="text-center" th:text="${declaration.photo}"></td>
            <td class="text-center" th:text="${declaration.status}"></td>
            <td>
                <a class="btn btn-outline-primary" href="/unit/toUpdate">修改</a>
            </td>

        </tr>


        </tbody>
    </table>

</div>
<h3>Education</h3>
<br/>
<div class="table-responsive">
    <table class="table table-striped mb-0">
        <thead>
        <tr>

            <th class="text-center">毕业时间</th>
            <th class="text-center">学历项目</th>
            <th class="text-center">学历水平</th>
            <th class="text-center">学历性质</th>
            <th class="text-center">毕业院校</th>
            <th class="text-center">所学专业</th>
            <th class="text-center">证书编号</th>
            <th></th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="education: ${educationList}">
            <td class="text-center" th:text="${education.graduationDate}"></td>
            <td class="text-center" th:text="${education.educationNum}"></td>
            <td class="text-center" th:text="${education.educationLeval}"></td>
            <td class="text-center" th:text="${education.educationSchool}"></td>
            <td class="text-center" th:text="${education.educationType}"></td>
            <td class="text-center" th:text="${education.educationMajor}"></td>
            <td class="text-center" th:text="${education.educationDegree}"></td>
            <td class="text-center" th:text="${education.certificateNumber}"></td>
            <td>

                <!--a class="btn btn-outline-primary" th:href="@{'/deleteEducation/'+${education.certificateNumber}}">删除</a-->
            </td>

        </tr>


        </tbody>
    </table>

</div>





<script src="js/node_modules/jquery/dist/jquery.js"></script>
<!-- Plugin scripts -->
<script src="vendors/bundle.js"></script>
<!-- Prism -->
<script src="vendors/prism/prism.js"></script>
<!-- App scripts -->
<script src="assets/js/app.js"></script>



<script>

</script>
</body>

</html>
